﻿using System;
using System.Diagnostics;
using System.Windows.Controls;
using FirstFloor.ModernUI.Windows;
using FirstFloor.ModernUI.Windows.Navigation;

namespace LEShortcut.Pages
{
    /// <summary>
    ///     Interaction logic for Update.xaml
    /// </summary>
    public partial class Update : UserControl, IContent
    {
        public Update()
        {
            InitializeComponent();
        }

        public void OnFragmentNavigation(FragmentNavigationEventArgs e)
        {
        }

        public void OnNavigatedFrom(NavigationEventArgs e)
        {
        }

        public void OnNavigatedTo(NavigationEventArgs e)
        {
            Process.Start("http://leshortcut.codeplex.com/");
            e.Frame.Source = new Uri("Pages/Home.xaml", UriKind.Relative);
        }

        public void OnNavigatingFrom(NavigatingCancelEventArgs e)
        {
        }
    }
}